<?php include "coresection/connection.php";?>
<?php include "coresection/checkSession.php";?>
<?php include "coresection/order-list.php";?>
<?php include "coresection/admin-user.php";?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php include 'modules/head.php'; ?>
</head>

<body>
<?php include 'modules/topbar.php'; ?>

<div class="setup_area">
    <?include 'modules/sidebar-admin.php'?>

    <div class="header">
        <h1>会员修改</h1>
        <?php include 'modules/header.php'; ?>
    </div>


    <div class="content_area">

<div class="main" >

    <div style="margin-top: 20px;">
	
        <form action="coresection/admin-useredit.php?nId=<?echo $_GET['nId'];?>" method="post" enctype="multipart/form-data" class="layui-form user_add_from">
            <ul class="admin_set_table user_set_table">

                <div class="layui-form-item">
                    <label class="layui-form-label">姓名：</label>
                    <div class="layui-input-block">

                 <input type="text" name="user_name" value="<?echo $admin_user_name?>" lay-verify="user_name" autocomplete="off"  class="layui-input" />
                    </div>
                </div>

                 <div class="layui-form-item"><label class="layui-form-label">会员号：</label>
                     <div class="layui-input-block">
                 <input type="text" name="user_id" value="<?echo $admin_user_id?>"  lay-verify="user_name" autocomplete="off"  class="layui-input" />
                     </div>
                 </div>


                <?
                $department_list=select_lines_all_items($table_Prefix."department","nid desc","","0");
                ?>


                <div class="layui-form-item">
                    <label class="layui-form-label">部门</label>
                    <div class="layui-input-block">
                        <select name="department" lay-search="">
                            <option value="<?echo $admin_department?>"><?echo $admin_department?></option>
                            <? for($i=0;$i<count($department_list);$i++){ ?>
                                <option value="<? echo $department_list[$i]['name'] ?>"> <? echo $department_list[$i]['name'] ?></option>
                            <? } ?>
                        </select>
                    </div>
                </div>



                <div class="layui-form-item"><label class="layui-form-label">账户：</label>
                    <div class="layui-input-block">
				 <input type="text" name="account" value="<?echo $admin_account?>"   lay-verify="user_name" autocomplete="off"  class="layui-input" />

                    </div>
                </div>


            </ul>
            <div class="function">
                <input type="submit" class="layui-btn dingdantongji_btn" value="确定""/>
            </div>
        </form>
    </div>
</div>

<?php include 'modules/footer.php'; ?>
</body>
</html>